package com.turingoal.common.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;

/**
 * 树
 */
@Data
public abstract class BaseTreeNodeBean implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id; // id
	private String text;
	private String parentId;
	private boolean expanded; // 是否展开
	private boolean leaf = true; // 是否叶子节点
	private int nodeLevel = 0;
	private List<BaseTreeNodeBean> children = new ArrayList<BaseTreeNodeBean>(); // 子节点
	private List<BaseTreeNodeBean> nodes = null;
}
